package com.jy.adscm.operation.purchase.mapper.mysql;

import com.jy.adscm.operation.purchase.bean.PurchasePlan;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.jy.adscm.operation.purchase.bean.QueryByPageParameter;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 采购计划清单 Mapper 接口
 * </p>
 *
 * @author lzf
 * @since 2019-05-07
 */
public interface PurchasePlanMapper extends BaseMapper<PurchasePlan> {

    List<PurchasePlan> queryByPage(@Param("currentPage") Integer currentPage,
                                   @Param("pageSize") Integer pageSize,
                                   @Param("key") String key,
                                   @Param("sortBy") String sortBy,
                                   @Param("status")String status);

    Integer queryCount(@Param("key") String key,
                                   @Param("status")String status);
}
